/*
 * @Author: Jiraiya
 * @Date: 2020-02-28 22:53:38
 * @LastEditors: Jiraiya
 * @LastEditTime: 2020-02-28 23:05:19
 * @Description: 
 */
function f(...args){
    return args;
}

f`a ${1+1} b ${1+2}`

// ['a ', ' b ', '', 2, 3]

//🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

String.fromCodePoint('0x20bb7')
// 𠮷

String.raw('\a')
// \\a

const a = '𠮷'
a.codePointAt(0)// 134071
a.codePointAt(1)// 57271

'\u01D1'.normalize() === '\u004F\u030C'.normalize()

const b = 'hello'
b.startsWith('h') //true
b.startsWith('e', 1) //true

b.endsWith('o') // true
b.endsWith('e', 2) // true

b.includes('h') // true
b.inclueds('e', 1) // true

const c = 'a'
c.repeat(2) //'aa'

const d = 'a'
d.padEnd(3, 'c') //'acc'
d.padStart(5, 'mn') // 'mnmna'

const e = ' m '
e.trimLeft() // 'm '
e.trimStart() // 'm '
e.trimRight() // ' m'
e.trimEnd() // ' m'

